package com.linkage.jz.bankruptcy.bean.Vote;

import com.google.gson.Gson;
import com.google.gson.JsonObject;

import java.io.Serializable;

public class ProVoteStatistics implements Serializable {

    private int disAgreedNum;//    不同意人数
    private int noVoteNum;//    参会未表决人数
    private double notAttendAmount;//    未参会金额
    private String groupId;//    分组id
    private double notAtdMoneyRate;//    未参会金额占比
    private int agreedNum;//    同意人数
    private double agreedVoterRate; // 同意人数占比
    private int notAttendNum;//    未参会人数
    private double agreedMoneyRate;//    同意金额占比
    private double noVoteAmount;//    参会未表决金额
    private double noVoteRate;//    参会未表决人数占比
    private double totalAmount;//    总金额
    private String groupName;//    分组名称
    private double noVoteMoneyRate;//    参会未表决金额占比
    private double disAgreedMoneyRate;//    不同意金额占比
    private double disAgreedVoterRate; //    不同意人数占比
    private int totalMeetingMember;//    总人数
    private double agreedAmount;//    同意金额
    private double notAtdVoterRate;//    未参会人数占比
    private double disAgreedAmount;//    不同意金额
    private boolean defaultAgreed;

    public boolean isDefaultAgreed() {
        return defaultAgreed;
    }

    public void setDefaultAgreed(boolean defaultAgreed) {
        this.defaultAgreed = defaultAgreed;
    }

    public double getAgreedVoterRate() {
        return agreedVoterRate;
    }

    public void setAgreedVoterRate(double agreedVoterRate) {
        this.agreedVoterRate = agreedVoterRate;
    }

    public int getDisAgreedNum() {
        return disAgreedNum;
    }

    public void setDisAgreedNum(int disAgreedNum) {
        this.disAgreedNum = disAgreedNum;
    }

    public int getNoVoteNum() {
        return noVoteNum;
    }

    public void setNoVoteNum(int noVoteNum) {
        this.noVoteNum = noVoteNum;
    }

    public double getNotAttendAmount() {
        return notAttendAmount;
    }

    public void setNotAttendAmount(double notAttendAmount) {
        this.notAttendAmount = notAttendAmount;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public double getNotAtdMoneyRate() {
        return notAtdMoneyRate;
    }

    public void setNotAtdMoneyRate(double notAtdMoneyRate) {
        this.notAtdMoneyRate = notAtdMoneyRate;
    }

    public int getAgreedNum() {
        return agreedNum;
    }

    public void setAgreedNum(int agreedNum) {
        this.agreedNum = agreedNum;
    }

    public int getNotAttendNum() {
        return notAttendNum;
    }

    public void setNotAttendNum(int notAttendNum) {
        this.notAttendNum = notAttendNum;
    }

    public double getAgreedMoneyRate() {
        return agreedMoneyRate;
    }

    public void setAgreedMoneyRate(double agreedMoneyRate) {
        this.agreedMoneyRate = agreedMoneyRate;
    }

    public double getNoVoteAmount() {
        return noVoteAmount;
    }

    public void setNoVoteAmount(double noVoteAmount) {
        this.noVoteAmount = noVoteAmount;
    }

    public double getNoVoteRate() {
        return noVoteRate;
    }

    public void setNoVoteRate(double noVoteRate) {
        this.noVoteRate = noVoteRate;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public double getNoVoteMoneyRate() {
        return noVoteMoneyRate;
    }

    public void setNoVoteMoneyRate(double noVoteMoneyRate) {
        this.noVoteMoneyRate = noVoteMoneyRate;
    }

    public double getDisAgreedMoneyRate() {
        return disAgreedMoneyRate;
    }

    public void setDisAgreedMoneyRate(double disAgreedMoneyRate) {
        this.disAgreedMoneyRate = disAgreedMoneyRate;
    }

    public double getDisAgreedVoterRate() {
        return disAgreedVoterRate;
    }

    public void setDisAgreedVoterRate(double disAgreedVoterRate) {
        this.disAgreedVoterRate = disAgreedVoterRate;
    }

    public int getTotalMeetingMember() {
        return totalMeetingMember;
    }

    public void setTotalMeetingMember(int totalMeetingMember) {
        this.totalMeetingMember = totalMeetingMember;
    }

    public double getAgreedAmount() {
        return agreedAmount;
    }

    public void setAgreedAmount(double agreedAmount) {
        this.agreedAmount = agreedAmount;
    }

    public double getNotAtdVoterRate() {
        return notAtdVoterRate;
    }

    public void setNotAtdVoterRate(double notAtdVoterRate) {
        this.notAtdVoterRate = notAtdVoterRate;
    }

    public double getDisAgreedAmount() {
        return disAgreedAmount;
    }

    public void setDisAgreedAmount(double disAgreedAmount) {
        this.disAgreedAmount = disAgreedAmount;
    }


    public static ProVoteStatistics parse(JsonObject obj) {
        ProVoteStatistics bean = new Gson().fromJson(obj, ProVoteStatistics.class);
        return bean;
    }
}
